package com.weishuang.monitor.leader.service;

import com.weishuang.monitor.leader.entity.ServerCpuRealTime;
import com.weishuang.monitor.leader.entity.ServerDiskInfo;
import com.weishuang.monitor.leader.entity.ServerRamRealTime;
import com.weishuang.monitor.leader.entity.ServersRunInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 服务器运行信息表 服务类
 * </p>
 *
 * @author weishuang
 * @since 2021-03-23
 */
public interface IServersRunInfoService extends IService<ServersRunInfo> {

    void onlineServer(String sysId);

    void upCpu(ServerCpuRealTime serverCpuRealTime);

    void upRam(ServerRamRealTime serverCpuRealTime);

    void upDisk(String sysId, List<ServerDiskInfo> serverDiskInfos);

    void serverOnlineCheck();
}
